package com.geyue.core.mapper;

import com.geyue.common.repository.Mybatis;
import com.geyue.core.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Lyon on 2017/3/24.
 */
@Mapper
public interface StudentMapper extends Mybatis<Student> {

    public List<Student> queryAll();

    public int updateStudentById (@Param(value="id") Integer id, @Param(value="giftMoney") int giftMoney);

   /* public Student updateStudent(int id);

    public int updatePassword(int stuId);*/
}
